﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Daphne
{
    public enum eGameType { OnePlayer, TwoPlayer, EngineMatch };

    /// <summary>
    /// Theme enumeration
    /// </summary>
    public enum enumTheme { Classic, BlackAndWhite, Marble };
    
    /// <summary>
    /// CheckersBoard theme command constants
    /// </summary>
    public static class Theme
    {
        public const int Classic = 0;
        public const int BlackAndWhite = 1;
        public const int Marble = 2;
    }

    /// <summary>
    /// Board 3D View
    /// </summary>
    public enum eBoard3DView { PersonView, TopView };

    /// <summary>
    /// Global Configuration
    /// </summary>
    [Serializable]
    public class DaphneConfig
    {
        public enumTheme Theme
        { get; set; }

        public eBoardType BoardType
        { get; set; }

        public eBoard3DView Board3DView
        { get; set; }

        public string LangCode
        { get; set; }

        public int ComputerLevel
        { get; set; }

        public int GraphicsLevel
        { get; set; }

        /// <summary>
        /// Set default settings
        /// </summary>
        public DaphneConfig()
        {
            Theme = enumTheme.Classic;
            BoardType = eBoardType.e3D;
            Board3DView = eBoard3DView.PersonView;
            LangCode = "en-US";
            ComputerLevel = 1;
        }
    }
}
